export default [
  {
    path: "/",
    component: "../layouts/BasicLayout",
    routes: [
      // 首页
      { path: "/", redirect: "/home" },
      {path:"/CookiePage/:cookie",component: "./CookiePage"},
      {
        path: "/home",
        name: "首页",
        component: "./Home"
      },
      {
        path: "/dataAssets",
        name: "科研数据",
        component: "./DataAssets"
      },
      {
        path: "/dataAssetsDetail/:id",
        name: "科研数据详情",
        component: "./DataAssets/detail",
        hideInMenu: true
      },
      {
        path: "/resourceSearch",
        name: "科研软件",
        component: "./ResourceSearch"
      },
      {
        path: "/resourceSearchDetail/:id",
        name: "科研软件详情",
        component: "./ResourceSearch/detail",
        hideInMenu: true
      },
      {
        path: "/source",
        name: "科研数据检索",
        component: "./Source"
      },
      {
        path: "/specialSubject",
        name: "专题",
        component: "./SpecialSubject"
      },
      {
        path: "/specialSubjectDetail/:id",
        name: "专题详情",
        component: "./SpecialSubject/detail",
        hideInMenu: true
      },
      {
        path: "/standard",
        name: "标准与规范",
        component: "./Standard"
      },
      {
        path: "/standardDetail/:id",
        name: "标准与规范详情",
        component: "./Standard/detail",
        hideInMenu: true
      },
      {
        path: "/statistics",
        name: "统计",
        component: "./Statistics"
      },
      {
        path: "/helpdoc",
        name: "帮助文档",
        component: "./HelpDOC",
        hideInMenu: true
      },
      {
        path: "/helpdocdetail/:id",
        name: "帮助文档详情",
        component: "./HelpDOC/detail",
        hideInMenu: true
      }
    ]
  }
];
